package cn.iocoder.yudao.module.promotion.controller.admin.yearcardorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 年卡订单新增/修改 Request VO")
@Data
public class YearCardOrderSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9611")
    private Long id;

    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "订单号不能为空")
    private String orderNo;

    @Schema(description = "会员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "6872")
    @NotNull(message = "会员编号不能为空")
    private Long memberId;

    @Schema(description = "会员昵称", example = "王五")
    private String nickname;

    @Schema(description = "手机")
    private String mobile;

    @Schema(description = "年卡金额")
    private BigDecimal yearCardAmount;

    @Schema(description = "年卡状态(1:生效;0:失效)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "年卡状态(1:生效;0:失效)不能为空")
    private Boolean status;

    @Schema(description = "年卡开始时间")
    private LocalDateTime yearCardStartTime;

    @Schema(description = "年卡结束时间")
    private LocalDateTime yearCardEndTime;

    @Schema(description = "支付订单编号")
    private Long payOrderId;

    @Schema(description = "支付订单状态(0:未支付;1:已支付)")
    private Integer payOrderStatus;

}